package zhoug.map;

import android.content.Context;

import org.osmdroid.views.MapView;

import androidx.core.content.ContextCompat;

/**
 * 我的位置Marker
 * @Author: zhoug
 * @Date: 2025-01-07
 * @Description:
 */
public class MyLocationMarker  extends MyMarker{

    public MyLocationMarker(MapView mapView) {
        super(mapView);
        setAnchor(0.5f,1.0f);
        setIcon(ContextCompat.getDrawable(mapView.getContext(),R.drawable.osmap_icon_my_location));
        setId("myLocationMarker");
        setInfoWindow(null);
    }

    public MyLocationMarker(MapView mapView, Context resourceProxy) {
        super(mapView, resourceProxy);
    }

}
